/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.xgb.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zcm.common.persistence.Page;
import com.zcm.common.service.CrudService;
import com.zcm.modules.xgb.entity.XgbBoardStock;
import com.zcm.modules.xgb.dao.XgbBoardStockDao;

/**
 * XgbBoardStockService
 * @author www
 * @version 2018-10-07
 */
@Service
@Transactional(readOnly = true)
public class XgbBoardStockService extends CrudService<XgbBoardStockDao, XgbBoardStock> {

	public XgbBoardStock get(String id) {
		return super.get(id);
	}
	
	public List<XgbBoardStock> findList(XgbBoardStock xgbBoardStock) {
		return super.findList(xgbBoardStock);
	}
	
	public Page<XgbBoardStock> findPage(Page<XgbBoardStock> page, XgbBoardStock xgbBoardStock) {
		return super.findPage(page, xgbBoardStock);
	}
	
	@Transactional(readOnly = false)
	public void save(XgbBoardStock xgbBoardStock) {
		super.save(xgbBoardStock);
	}
	
	@Transactional(readOnly = false)
	public void delete(XgbBoardStock xgbBoardStock) {
		super.delete(xgbBoardStock);
	}
	
}